package com.lis.scf.common.dto.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 企业信息完善请求DTO
 */
@Data
@ApiModel(description = "企业信息完善参数")
public class CompanyInfoDTO {

    @NotBlank(message = "经营地址不能为空")
    @ApiModelProperty(value = "企业经营地址")
    private String businessAddress;

    @NotBlank(message = "经营范围不能为空")
    @ApiModelProperty(value = "企业经营范围")
    private String businessScope;

    @NotNull(message = "资产规模不能为空")
    @PositiveOrZero(message = "资产规模必须为非负数")
    @ApiModelProperty(value = "企业资产规模（万元）", example = "5000.00")
    private BigDecimal assetScale;

    @ApiModelProperty(value = "操作员证件号")
    private String operatorIdNumber;

    @ApiModelProperty(value = "操作员手机号")
    private String operatorMobile;
}
